package com.zgys.project_mgr.server.dao;

import com.zgys.project_mgr.server.model.po.ServerPo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author wx
 * @date 2018-09-29 14:49:42
 */
@Mapper
@Repository
public interface ServerDao {

	ServerPo get(Integer id);

	List<ServerPo> list(Map<String,Object> map);

	int count(Map<String,Object> map);

	int save(ServerPo server);

	int update(ServerPo server);

	int remove(Integer id);

	int batchRemove(Integer[] ids);
}
